home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 July & August / Gamestar_64_2004-07-08_dvd.iso / Programy / san2004.SP1-9104-Win32-OTZ.exe / {app} / examples / Report Script.sis < prev    next >
Text File  |  2004-01-22  |  8KB  |  248 lines

  1. ;;
  2. ;; File: "Report Script.sis" - Sample batch-mode report settings example file for SiSoftware Sandra
  3. ;;
  4. ;; Syntax: sandra /r <full path report script>
  5. ;; 
  6. ;; For this example: "sandra /r script.sis"
  7. ;; Note: Use quotes if the file has spaces in it, e.g. "c:\Program Files\Script.sis"
  8. ;;
  9. ;; Warning: Include the FULL PATH to the script file, e.g. "c:\temp\script.sis" not just
  10. ;;          "script.sis" even if the script file is in Sandra's own directory!
  11. ;;
  12. ;; You can create a script like this one by running the Create a Report Wizard and
  13. ;; specifying "Save the settings in a script file for later use" at step 1.
  14. ;; It's far easier to specify options this way.
  15.  
  16.  
  17. [General]
  18. ;; General settings
  19.  
  20. ;; Version - decimal value
  21. Program Version=2400
  22.  
  23.  
  24. ;; Type of report:
  25. ;; "save"      - to save to disk in a format (see 'Report File Type' for file format)
  26. ;; "emailMAPI" - to e-mail it using MAPI (see 'Report File Type' for file format)
  27. ;; "emailSMTP" - to e-mail it using SMTP (see 'Report File Type' for file format)
  28. ;; "postNews"  - to post it to a newsgroup using NNTP (see 'Report File Type' for file format)
  29. ;; "print"     - to print/fax the report
  30. ;; "odbc"      - to insert into any ODBC data source (advanced usage)
  31. ;; "ado"       - to insert into any ADO supported database/SQL Server (advanced usage)
  32. ;; "upload"    - to upload it to a FTP/HTTP server
  33. ;; "postMSMQ"  - to post to a queue (MSMQ) (advanced usage)
  34. ;; "registry"  - to insert into system registry (advanced usage)
  35. Report Type=save
  36.  
  37.  
  38. ;; if save:
  39. ;; Full name & path of report file (comment it out if email)
  40. ;; you can also use fields that will be replaced with their values at runtime
  41. ;; fields:
  42. ;;   $HOST$   - computer/host name
  43. ;;   $DOMAIN$ - domain/workgroup name
  44. ;;   $USER$   - user name
  45. ;;   $DATE$   - date report created
  46. ;;   $TIME$   - time report created
  47. Report File=Report of $HOST$ on $DATE$ at $TIME$.txt
  48.  
  49. ;; If $DATE$ is specified, you can over-ride its format here.
  50. ;; See the Platform SDK - GetDateFormat for more information
  51. ;; (NOTE: some characters are NOT valid in a filename!!!)
  52. Date Format=ddd MMM dd yyyy
  53.  
  54. ;; If $TIME$ is specified, you can over-ride its format here.
  55. ;; See the Platform SDK - GetTimeFormat for more information
  56. ;; (NOTE: some characters are NOT valid in a filename!!!)
  57. Time Format=hh mm ss tt
  58.  
  59. ;; File Type:
  60. ;; "normal" (TXT)
  61. ;; "hierarchical" (RPT)
  62. ;; "web" (HTML)
  63. ;; "XML" (XML)
  64. ;; "SMS" (DMI/MIF)
  65. Report File Type=normal
  66.  
  67. ;; Tested Device Type
  68. ;; 0 - Desktop/Laptop
  69. ;; 1 - PDA / Smart Phone (WinCE)
  70. ;; 2 - PDA / Smart Phone (Palm)
  71. Device Type=0
  72.  
  73. ;; File Encoding:
  74. ;; specify either ANSI (0) or Unicode (1)
  75. ;; (program will convert as required, Unicode recommended)
  76. File Encoding Unicode=1
  77.  
  78. ;; Encrypt (CRY) report? "0"-No (default) or "1"-Yes
  79. ;; Do NOT specify with Append!
  80. Encrypt=0
  81. ;; Encryption key string - to encrypt the report with
  82. Encrypt Key=the key string
  83.  
  84. ;; Compress (CAB) report? "0"-No or "1"-Yes (default)
  85. ;; Do NOT specify with Append!
  86. Compress=1
  87.  
  88. ;; Append to report file? "0"-No (default) or "1"-Yes
  89. Append=0
  90.  
  91. ;; If multiple copies of Sandra use the same file for the report, turn this on
  92. ;; to synchronise access to the file (each copy will wait for it to become
  93. ;; available rather than exiting) "0"-Don't (default) or "1"-Do
  94. Wait If File Taken=1
  95.  
  96. ; Set the number of characters per line, between 10 to 200 (default 90)
  97. External Line Size=90
  98.  
  99.  
  100. ;; if email: Address of user(s) to send to, subject, e.g.:
  101. ;Email Send To=Sandra@sisoftware.net
  102. ;Email Send Cc=Info@sisoftware.net
  103. ;Email Send Bcc=Blind@sisoftware.net
  104. ;Email Subject=SiSoftware Sandra System Report
  105. ;; address/account of sender
  106. ;Email Sender=Report@sisoftware.net
  107. ;; SMTP server information
  108. ;Email SMTP Host=post.server.com
  109. ;Email SMTP Port=25
  110. ;; SMTP server authentication
  111. ;Email SMTP SSL Auth=0
  112. ;EMail Login User=user
  113. ;EMail Login Password=post
  114. ;; if you want to encrypt the login, use the following 2 fields instead
  115. ;EMail Login User Encrypted=00000000
  116. ;EMail Login Password Encrypted=00000000
  117.  
  118.  
  119. ;; if post: News server details
  120. ;News NewsGroup=public.test
  121. ;News Host=news.server.com
  122. ;News Port=119
  123. ;; address/account of sender
  124. ;News Sender=Report@sisoftware.net
  125. ;; News server authentication
  126. ;News SSL Auth=0
  127. ;News Login User=user
  128. ;News Login Password=post
  129. ;; if you want to encrypt the login, use the following 2 fields instead
  130. ;News Login User Encrypted=00000000
  131. ;News Login Password Encrypted=00000000
  132.  
  133.  
  134. ;; if print: the printer/device name (verbatim!!!)
  135. ;Printer Name=Canon BJ-20
  136.  
  137.  
  138. ;; if insert into ODBC database: enter the data source details, e.g.:
  139. ;ODBC DSN=SandraReport
  140. ;ODBC UserName=Test
  141. ;ODBC Password=sql
  142. ;; if you want to encrypt the login, use the following 2 fields instead
  143. ;ODBC UserName Encrypted=00000000
  144. ;ODBC Password Encrypted=00000000
  145. ;; 1 if identity/autoincrement is supported (e.g. SQL Server/Access); 0 if not
  146. ;ODBC Identity Support=1
  147. ;; 1 if sequences are supported (e.g. Oracle); 0 if not
  148. ;ODBC Sequence Support=0
  149. ;; 1 if client cursors; 0 if server cursors
  150. ;ODBC Client Cursors=0
  151.  
  152. ;; if insert into ADO database: enter database details, e.g.:
  153. ;; SQLOLEDB (SQL Server); MSDAORA (Oracle); MSDASQL (ODBC); Microsoft.Jet.OLEDB.X.XX (Access)
  154. ;ADO Provider=SQLOLEDB
  155. ;; Database host server
  156. ;ADO Server=LocalHost
  157. ;; SQL Server database; Oracle (schema); ODBC DSN
  158. ;ADO Database=SandraDB
  159. ;; Only useful if using the ADO-to-ODBC bridge. Enter the verbatim name of the ODBC driver
  160. ;ADO Driver=Microsoft Access Driver (*.mdb)
  161. ;; 1 if identity/autoincrement is supported (e.g. SQL Server/Access); 0 if not
  162. ;ADO Identity Support=1
  163. ;; 1 if sequences are supported (e.g. Oracle); 0 if not
  164. ;ADO Sequence Support=0
  165. ;; 1 if client cursors (e.g. Oracle); 0 if server cursors (e.g. SQL Server)
  166. ;ADO Client Cursors=0
  167. ;; 0 for database security (specify username/password); 1 for NT authentication
  168. ;ADO NT Security=0
  169. ;; only if database security specified
  170. ;ADO UserName=Test
  171. ;ADO Password=sql
  172. ;; if you want to encrypt the login, use the following 2 fields instead
  173. ;ADO UserName Encrypted=00000000
  174. ;ADO Password Encrypted=00000000
  175.  
  176.  
  177. ;; if ftp upload: enter the server connection (inc path), e.g.:
  178. ;Upload URL=http://www.sisoftware.co.uk/uploadedreports/
  179. ;Upload URL=ftp://ftp.sisoftware.co.uk/uploadedreports/
  180. ;; 1 if anonymous; 0 specify user/password
  181. ;Upload Anonymous=1
  182. ;Upload User=guest
  183. ;Upload Password=guest_pass
  184. ;; if you want to encrypt the login, use the following 2 fields instead
  185. ;Upload User Encrypted=00000000
  186. ;Upload Password Encrypted=00000000
  187.  
  188.  
  189. ;; if post to queue/MSMQ: enter queue path, e.g.:
  190. ;MSMQ Queue=\\computer\public\SandraReport
  191. ;; 1 if transactional; 0 if not
  192. ;MSMQ Transactional=0
  193. ;; 1 if accessible to all; 0 only to creator
  194. ;;MSMQ Public Access=1
  195. ;; 0 if plain; 1 encrypt message body (not needed if file already encrypted)
  196. ;MSMQ Encrypted=0
  197. ;; 1 to use current user login credentials; 0 specify user/password
  198. ;MSMQ Default Credentials=1
  199. ;MSMQ User=guest
  200. ;MSMQ Password=guest_pass
  201. ;; if you want to encrypt the login, use the following 2 fields instead
  202. ;MSMQ User Encrypted=00000000
  203. ;MSMQ Password Encrypted=00000000
  204.  
  205.  
  206. ;; Enter your comments here - one line only!
  207. Comments=This is a test batch-mode report.
  208.  
  209. ;; Display progress dialog? "0"-No or "1"-Yes (default)
  210. Progress Dialog=1
  211.  
  212. ;; Exit after report is done? "0"-No or "1"-Yes (default)
  213. Exit After Done=1
  214.  
  215.  
  216. [Modules]
  217. ;; Module List "0"-To exclude(default) or "1"-To include module
  218. ;; Use Help to find out the command-line switch for a particular module.
  219.  
  220. SummaryInfo=1
  221. CPUInfo=1
  222. VideoInfo=1
  223. WinMemInfo=1
  224. OLEInfo=1
  225.  
  226. System.ini=0
  227. Win.ini=0
  228.  
  229. ;; etc.
  230.  
  231. ;; Uncomment this line to include all available modules
  232. ;AllModules=1
  233.  
  234. ;; Uncomment this line to include all information modules
  235. ;InfoModules=1
  236. ;; Uncomment this line to include all benchmarking modules
  237. ;BenchmarkModules=1
  238. ;; Uncomment this line to include all listing modules
  239. ;ListModules=1
  240. ;; Uncomment this line to include all testing modules
  241. ;TestModules=1
  242.  
  243.  
  244. ;; That's it - good luck & good hunting!
  245. ;;
  246. ;; If you have issues or comments, please contact us.
  247. ;;
  248.